﻿/*
 * CCIS
 * (C) Copyright Code MZ, Ltd. 2014,  All Rights Reserved.
 */
package com.beetlestech.nfe.main.biz.com.dto;

/**
 *Service DB DTO
 *
 * History
 * REV.         Updated Date           Updater              Infomation
 * -------      ---------------        ----------------     ------------------
 * 1.0          2014/11/26             TOOL                 Create
*
 */
@com.beetlestech.nfe.fw.core.type.Alias("COURSE_SECTION")
@com.beetlestech.nfe.fw.core.type.AliasKanJi("")
public class SectionInfoDTO implements java.io.Serializable, Comparable<SectionInfoDTO> {

	private static final long serialVersionUID = 1L;

	private Integer sectionid = null;

	private String name = null;
	
	private SectionInfoDTO[] childrenSectionArray = null;
	
	private LessonInfoDTO[] lessonInfoArray = null;

	public Integer getsectionid() {
		return this.sectionid;
	}

	public void setsectionid(
			Integer sectionid) {
		this.sectionid = sectionid;
	}

	public String getname() {
		return this.name;
	}

	public void setname(
			String name) {
		this.name = name;
	}
	
	public SectionInfoDTO[] getChildrenSectionArray() {
		return this.childrenSectionArray;
	}

	public void setChildrenSectionArray(
			SectionInfoDTO[] childrenSectionArray) {
		this.childrenSectionArray = childrenSectionArray;
	}

	public LessonInfoDTO[] getLessonInfoArray() {
		return this.lessonInfoArray;
	}

	public void setLessonInfoArray(
			LessonInfoDTO[] lessonInfoArray) {
		this.lessonInfoArray = lessonInfoArray;
	}

  	/* (non-Javadoc)
     * @see java.lang.Comparable#compareTo(java.lang.Object)
     */
    @Override
    public int compareTo(
			SectionInfoDTO compareToDTO) {
        return this.equals(compareToDTO) ? 0 : -1;
    }
}

